package com.omega.constants;

public interface ApplicationConstants {

	// lets keep the words divided by under scores,
	// and lets remove the "list" word from the views, it not the standard
	// notations, we keep it as add/update/view/remove(delete)Entity, this is
	// the correct notation. please align to this std. also in controllers, it
	// is agn a std to keep the urls as add/edit/viewEntities, please change the
	// url mappings too accordingly. lets discuss if needed.

	/************************************** ENTITY LIST ******************************************/
	String BRAND_NAMES = "brandNameList";
	String ITEM_NAMES = "itemList";
	String MEASURINGUNITS = "measuringUnitList";
	String RETAILERS = "retailerList";
	String SUPPLIERS = "supplierList";
	
	/************************************** MODEL ATTRIBUTES ******************************************/
	String RETAILER_OBJ = "retailerObj";
	String SUPPLIER_OBJ = "supplierObj";
	String ITEM_OBJ = "itemObj";
	String ITEM_DISTRIBUTED_OBJ = "itemDistributedObj";
	String ITEM_RECEIVED_OBJ = "itemReceivedObj";
	String ITEM_DENOMINATION_OBJ = "itemDenominationObj";
	String MEASURING_UNIT_OBJ = "measuringUnitObj";
	String BRAND_OBJ = "brandObj";
	
	/************************************** VIEW NAMES ******************************************/
	String ADD_NEW_ITEM_VIEW = "addItem";
	String ITEM_NAMES_VIEW = "viewItems";
	String EDIT_ITEM_VIEW = "editItem";
	
	String ADD_NEW_BRAND_VIEW = "addBrand";
	String BRAND_NAMES_VIEW = "viewBrands";
	String EDIT_BRAND_VIEW = "editBrand";
	
	String ADD_NEW_MEASURINGUNIT_VIEW = "addMeasuringUnit";
	String MEASURING_UNITS_VIEW = "viewMeasuringUnits";
	String EDIT_MEASURING_UNIT_VIEW = "editMeasuringUnit";
	
	String ADD_NEW_RETAILER_VIEW = "addRetailer";
	String RETAILERS_VIEW = "viewRetailers";
	String EDIT_RETAILER_VIEW = "editRetailer";
	
	String ADD_NEW_SUPPLIER_VIEW = "addSupplier";
	String SUPPLIERS_VIEW = "viewSuppliers";
	String EDIT_SUPPLIER_VIEW = "editSupplier";
	
	String ITEM_DISTRIBUTED_VIEW = "itemDistributed";
	String ITEM_RECEIVED_VIEW = "itemReceived";
	
	/************************************** REDIRECT VIEW NAMES ******************************************/
	String REDIRECT_RETAILERS_VIEW = "redirect:/admin/retailer/viewRetailers";
	String REDIRECT_SUPPLIERS_VIEW = "redirect:/admin/supplier/viewSuppliers";
	String REDIRECT_BRANDS_VIEW = "redirect:/admin/brand/viewBrands";
	String REDIRECT_ITEMS_VIEW = "redirect:/admin/item/viewItems";
	String REDIRECT_MEASURING_UNITS_VIEW = "redirect:/admin/measuringUnit/viewMeasuringUnits";
	
	/************************************** VO NAMES ******************************************/
	String DENOMINATION_VO = "itemDenominationVO";
	String DENOMINATIONS_LIST_VO = "denominationsList";
	String BRAND_LIST_VO = "brandListVO";
	String MEASURING_UNIT_LIST_VO = "measuringUnitListVO";
	String RETAILERS_LIST_VO = "retailersListVO";
	String ITEM_LIST_VO = "itemListVO";
	
	/************************************** COMMON CONSTANTS ******************************************/
	String DENOMINATION_ACTIVE = "A";
	String DENOMINATION_INACTIVE = "D";
	String SUPPLIER_ACTIVE = "A";
	String SUPPLIER_INACTIVE = "D";
	String ACTIVE = "A";
	String INACTIVE = "D";
}
